<!DOCTYPE html>
<html lang="en">

<head>
<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
	// Pass window to the jQuery function and attach
	// event handler using the load() method shortcut. 
	jQuery(window).load(function() {
		alert('The page and all its assets are loaded!');
	});
</script>
</head>

<body></body>

</html>